package com.example.demo.domain.db;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;

import java.util.Date;

/**
 * @Description
 * @Author <a href="hedong.wu@baozun.com">wuhedong</a>
 * @Date 2020/5/27 13:21
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {

    @Id
    private Long id;

    @Field("order_code")
    private String orderCode;

    @Field("user_name")
    private String userName;

    @Field("user_address")
    private String userAddress;

    @Field("create_time")
    private Date createTime;



}
